class CreateTestJaunts < ActiveRecord::Migration
  def self.up
    Jaunt.create(:name=> 'Big Block of Cheese Day',
                 :description => "President Andrew Jackson, in the main foyer of his White House, had a big block of cheese. (And a Wheat Thin the size of Lake Tahoe!)",
                 :house_id => 1,
                 :start_time => Time.now,
                 :end_time => 1.day.from_now)
    Jaunt.create(:name => 'The FUTURE!',
                 :description => 'Everybody gets a flying car!',
                 :house_id => 1,
                 :start_time => Time.mktime(2010, "jan", 1),
                 :end_time => Time.mktime(2020, "jan", 1))
    Jaunt.create(:name => 'The Ennui Party',
                 :description => 'All weltschmerz, all the time!',
                 :house_id => 1,
                 :start_time => Time.mktime(1991, "jan", 1),
                 :end_time => Time.mktime(2008, "sep", 19))
  end

  def self.down
    FreshmanJaunt.delete_all
    Jaunt.delete_all
  end
end
